package _09define._04houmework;

public class AccountTest {
    public static void main(String[] args) {
        Account account=new Account();
        try {
            account.setUserName ("汤晨宇234号");
            account.setPassword ("123456");
            account.setBalance (200);
            System.out.println("余额为"+account.getBalance());
            System.out.println("测试通过");
        } catch (IllegalArgumentException e) {
            System.out.println (e.getMessage ());
        }
    }
}
